package com.team.book.service;

import com.team.book.common.domain.Page;
import com.team.book.common.exception.UncheckedException;
import com.team.book.domain.User;

/**
 * Created by haolw on 4/22/17.
 *
 * @version 0.0.1
 */
public interface UserService {

    Page<User> query(Page<User> page, User user);

    int save(User user) throws UncheckedException;

    int update(User user);

    int updatePwd(User user) throws UncheckedException;

    User getById(Long id);
}
